package com.example.taskdemo.bean;

import com.example.taskdemo.tasks.BaseTask;

public class DistrubtuionData extends BaseData {
    String text;
    DISTRIBUTIONSTATE distributionstate;
    public DistrubtuionData(String text){
        this.text = text;
    }
    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public DISTRIBUTIONSTATE getDistributionstate() {
        return distributionstate;
    }

    public void setDistributionstate(DISTRIBUTIONSTATE distributionstate) {
        this.distributionstate = distributionstate;
    }

    public enum DISTRIBUTIONSTATE{
        NO,
        INIT,
        DISTRUBUTIONING,
        ERROR,
        FINISH
    }
}
